﻿//////////////////////////////////////////////////////////////////
//
// Transporter.cs
//
// Copyright (c) 2012 Dan Pike. All rights reserved
//
// Refer to license.txt for any license restrictions.
// 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
   public class Transporter : Entity
   {
      //////////////////////////////////////////////////////////////////////////
      //
      public Transporter(World world) : base(world)
      {
      }

      //////////////////////////////////////////////////////////////////////////
      //
      public TransportTypes transportType
      {
         get { return transportType_; }
         internal set { transportType_ = value; }
      }

      //////////////////////////////////////////////////////////////////////////
      //
      public UpgradeLevels upgradeLevel
      {
         get { return upgradeLevel_; }
         set { upgradeLevel_ = value; }
      }

      //////////////////////////////////////////////////////////////////////////
      //
      public int capacity
      {
         get { return capacity_[upgradeLevel]; }
         internal set { capacity_[upgradeLevel] = value; }
      }

      //////////////////////////////////////////////////////////////////////////
      //
      private TransportTypes transportType_;
      private Dictionary<UpgradeLevels , int> capacity_ = new Dictionary<UpgradeLevels , int>();
      private UpgradeLevels upgradeLevel_;
   }
}
